go/printer.printer.pos (field)
29 uses
go/printer (current package)
nodes.go#L47: n := max(nlimit(line-p.pos.Line), min)
nodes.go#L294: if mode&commaTerm != 0 && next.IsValid() && p.pos.Line < next.Line {
nodes.go#L787: xline := p.pos.Line // before the operator (it may be on the next line!)
nodes.go#L1160: if line := p.lineFor(x.Sel.Pos()); p.pos.IsValid() && p.pos.Line < line {
nodes.go#L1914: if startPos.IsValid() && p.pos.IsValid() && p.posFor(startPos).Line == p.pos.Line {
printer.go#L78: pos token.Position // current position in AST (source) space
printer.go#L101: fmt.Print(p.pos.String() + ": ")
printer.go#L226: p.pos.Offset += n
printer.go#L227: p.pos.Column += n
printer.go#L258: p.pos.Offset += n
printer.go#L260: p.pos.Line += n
printer.go#L262: p.pos.Column = 1
printer.go#L266: p.pos.Column += n
printer.go#L293: p.pos = pos
printer.go#L324: p.pos.Offset += len(s)
printer.go#L326: p.pos.Line += nlines
printer.go#L329: p.pos.Column = c
printer.go#L332: p.pos.Column += len(s)
printer.go#L340: p.last = p.pos
printer.go#L675: pos = p.pos
printer.go#L755: p.pos = next
printer.go#L771: p.pos = p.posFor(last.End())
printer.go#L772: p.last = p.pos
printer.go#L887: p.pos = p.posFor(pos) // accurate position of next item
printer.go#L1000: next := p.pos // estimated/accurate position of next item
printer.go#L1007: n := nlimit(next.Line - p.pos.Line)
printer.go#L1340: pos: token.Position{Line: 1, Column: 1},
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)